
.text
.global _start
_start:
	mov sp, #4096
	bl disable_wdt
	bl memsetup
	bl clock_init
	bl uart0_init
	bl nand_init
	ldr r0, =0x30000000
	mov r1, #4096
	mov r2, #2048
	bl nand_read
	mov sp, #0x34000000
	ldr lr,=loop
	ldr pc,=main

loop:
	b loop
